<%--
  Created by IntelliJ IDEA.
  User: Reimu
  Date: 2022/5/14
  Time: 13:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@page import="icu.ikuns.*" %>
<html>
<head>
    <title>输出半径</title>
</head>
<body>

<jsp:useBean id="circle" class="icu.ikuns.Circle"/>
<form action="" method="post" name="getInfoForm">
    <p>输入半径：<input type="text" name="radius"></p>
    <input type="submit" value="提交">
</form>
<jsp:setProperty name="circle" property="*"/>
<p>面积是：<jsp:getProperty name="circle" property="area"/></p>
</body>
</html>
